package com.com.effectivejava.serializability.example1;

import java.io.Serializable;

/**
 * Created by pankaj on 7/19/14.
 */
public class Person  {
    //Person class doesnot implement the serializable interface.
    // so name field will not be serialize.
    // would throw Null Pointer exception if proper steps have not been taken.

    public String name;
    Person(String name){
        this.name = name;
    }
//    Person(){
//
//    }
}
